<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>资料下载</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../static/assets/libs/layui/css/layui.css" th:href="@{/assets/libs/layui/css/layui.css}" media="all"/>
    <link rel="stylesheet" href="../static/assets/css/style.css" th:href="@{/assets/css/style.css}" />
    <link rel="stylesheet" href="../static/assets/css/global.css" th:href="@{/assets/css/global.css}" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<!-- 顶部 -->
<div th:include="common :: headname"></div>
<!--精品课程-->
<div class="layui-container" style="width: 1240px;">
    <div class="layui-row">
        <div class="layui-col-sm12" style="margin-top: 40px;">
            <h3 class="course_title" style=" line-height: 36px;text-align: center;font-size: 20px;font-weight: 600;color: #4D555D;">
                <img src="../static/assets/images/item.png" th:src="@{/assets/images/item.png}"> 所<span></span>有<span></span>资<span></span>料</h3>
            <div class="content_left" id="content">
                <!--课程部分-->
                <div class="layui-tab layui-tab-brief" >
                    <ul class="layui-tab-title">
                        <li class="layui-this"><h3>课程资料</h3></li>
                    </ul>
                    <div class="layui-tab-content">
                        <div class="layui-tab-item layui-show" th:each="file:${files}">
                            [[${file.fileName}]]<a th:href="@{/file/download(id=${file.id})}" style="margin-left: 150px">下载</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- js部分 -->
    <div class="fly-footer">
        <p><a href="http://fly.layui.com/" target="_blank">Fly社区</a> 2021 &copy; <a href="http://www.layui.com/" target="_blank">layui.com 出品</a></p>
        <p>
            <a href="http://fly.layui.com/jie/3147/" target="_blank">付费计划</a>
            <a href="http://www.layui.com/template/fly/" target="_blank">获取Fly社区模版</a>
            <a href="http://fly.layui.com/jie/2461/" target="_blank">微信公众号</a>
        </p>
    </div>
    <script type="text/javascript" src="../static/assets/libs/layui/layui.js" th:src="@{/assets/libs/layui/layui.js}"></script>
    <script type="text/javascript" src="../static/assets/js/common.js" th:src="@{/assets/js/common.js}"></script>
    <script text="text/javascript">
        layui.use('element', function(){
            var element = layui.element;

            //…
        });
    </script>
</body>
</html>


